<template>
    <div class="destail1">
        <!-- 头部 -->
        <!-- <div class="header">
            <x-icon type="ios-arrow-left" size="" class="icon-white" @click="$router.go(-1)"></x-icon>安全检查
        </div> -->
        <!-- 内容部分 -->
        <div class="destail1Details32">
            <ul class="ul1">
                <li class="clearfix">
                    <span class="spa">单位名称</span>
                    <em>{{listArr.ProjectName}} </em>
                </li>
                <li class="clearfix">
                    <span class="spa">分部工程</span>
                    <em>{{listArr.SubSectionProject}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">分项工程</span>
                    <em>{{listArr.SubProject}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险源</span>
                    <em>{{listArr.Hazards}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险因素</span>
                    <em>{{listArr.RiskFactors}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">可能导致的事故类别</span>
                    <em>{{listArr.AccidentType}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险后果分类</span>
                    <em>{{listArr.Consequence}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">事故发生的可能性L</span>
                    <em>{{listArr.L}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">暴露的危险环境频繁程度E</span>
                    <em>{{listArr.E}} </em>
                </li>
                <li class="clearfix">
                    <span class="spa">发生事故产生的后果C</span>
                    <em>{{listArr.C}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">D=L*E*C</span>
                    <em>{{listArr.D}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">风险等级</span>
                    <em>{{listArr.SourceLevel}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">是否为重大风险</span>
                    <em>{{listArr.IsBigSource}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">管控措施</span>
                    <em>{{listArr.ControlMeasure}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">管控级别</span>
                    <em>{{listArr.ControlLevel}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">管控部门</span>
                    <em>{{listArr.ControlDepartment}}</em>
                </li>
            </ul>
        </div>
        <myMenu @clickBack="back"></myMenu>
    </div>
</template>
<script>
import { Actionsheet, Cell, Group, CellBox } from 'vux'
import myMenu from '@/commonComponents/menu'
export default {
    components: {
        Actionsheet,
        Group,
        Cell,
        CellBox,
        myMenu
    },
    data () {
        return {
            listArr: []
        }
    },
    created () {
        this.listArr = this.$route.query.item
        console.log(this.listArr, 123)
    },
    mounted () {

    },
    methods: {
        back () {

        }
    }
}
</script>
<style lang="less" scoped>
.destail1 {
    width: 100%;
    height: 100%;
    .header {
        width: 100%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        position: relative;
        font-size: 18px;
        background: #2269ff;
        color: #fff;
        .vux-x-icon {
            fill: cornsilk;
            position: absolute;
            left: 0;
            top: 5px;
            width: 30px;
            height: 30px;
        }
    }
    .destail1Details32 {
        height: 100%;
        width: 100%;
        background-color: #ebeef2;
        padding-top: 10px;
        .ul1 {
            width: 100%;
            padding: 0 10px;
            background-color: #fff;
            margin-bottom: 10px;
            li,
            li .ul_in {
                padding: 10px 0;
                border-bottom: 1px solid #eee;
                width: 100%;
                height: 50px;
                line-height: 30px;
                position: relative;
                .vux-x-icon {
                    fill: #999;
                    float: right;
                    position: absolute;
                    top: 12px;
                    right: -10px;
                }
                .spa {
                    // float: left;
                    width: 136px;
                    font-size: 14px;
                    color: #333;
                }
                .spaTitle {
                    float: left;
                    height: 30px;
                    line-height: 30px;
                    font-size: 16px;
                    width: 196px;
                    color: #2269ff;
                }
                em {
                    color: #999;
                    float: right;
                    width: 180px;
                    height: 30px;
                    font-size: 14px;
                    line-height: 30px;
                    text-align: right;
                    margin-right: 10px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    .sp {
                        color: red !important;
                    }
                }
                .vux-cell-value {
                    float: right;
                    margin-right: 20px;
                }
            }
        }
    }
    .weui-cell {
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    .vux-label {
        font-size: 16px;
    }
    .weui-cells {
        margin-top: 0;
    }
    .weui-cell__ft {
        em {
            font-size: 14px;
        }
    }
    .dele {
        overflow: hidden;
        background-color: #fff;
        .list-item {
            position: relative;
            height: 120px;
            -webkit-transition: all 0.2s;
            transition: all 0.2s;
            border-bottom: 1px solid #eee;
            .list-box {
                padding: 0 10px;
                display: flex;
                align-items: center;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                justify-content: flex-end;
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                font-size: 0;
                .list_Left {
                    float: left;
                    width: 220px;
                    height: 120px;
                    h2 {
                        width: 100%;
                        font-size: 18px;
                        margin-top: 14px;
                    }
                    p {
                        font-size: 16px;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-top: 14px;
                    }
                    h5 {
                        margin-top: 14px;
                        font-size: 16px;
                        width: 100%;
                        em {
                            color: #ffb400;
                        }
                    }
                }
                .list_Right {
                    width: 150px;
                    height: 126px;
                    float: right;
                    padding: 14px 0;
                    img {
                        width: 100%;
                        height: 100%;
                        // border: 1px solid #fff;
                        border-radius: 5px;
                    }
                }
            }
        }
        .n1 {
            color: #fe0100;
        }
        .n2 {
            color: #ff7034;
        }
    }
    .affirm-wrap {
        position: fixed;
        z-index: 5;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ebeef2;
    }
    .standard-name span {
        margin-left: 20px;
        font-size: 16px;
    }
    .iconfont {
        margin-left: 20px;
    }
    .item-wrap {
        // padding-left: 20px;
        background: #fff;
        position: relative;
        z-index: 2;
        margin-top: 5px;
    }
}
</style>
